import request from '@/common/request'

//用户数据

export function getZhuJiaoInfo() {
  return request({
    url: '/apiadmin/action/getZhuJiaoInfo',
    method: 'post',
  })
}

export function getYaoqingZhujiao2(data) {
  return request({
    url: '/apiadmin/action/getYaoqingZhujiao2',
    method: 'post',
    data:data
  })
}

export function getUserInfo(data) {
  return request({
    url: '/apiadmin/action/getUserInfo',
    method: 'post',
    data:data
  })
}

export function getUserInfoDc(data) {
  return request({
    url: '/apiadmin/action/getUserInfoDc',

    method: 'post',
    data:data
  })
}


  export function delUserInfo(data) {
    return request({
      url: '/apiadmin/action/delUserInfo',
      method: 'post',
      data:data
    })
  }

  export function pldelUserInfo(data) {
    return request({
      url: '/apiadmin/action/pldelUserInfo',
      method: 'post',
      data:data
    })
  }


  export function getuser(data) {
    return request({
      url: '/apiadmin/action/getuser',
      method: 'post',
      data:data
    })
  }

//邀请
  export function getyaoqing(data) {
    return request({
      url: '/apiadmin/action/getyaoqing',
      method: 'post',
      data:data
    })
  }

  //邀请总览
  export function getyaoqingzonglan(data) {
    return request({
      url: '/apiadmin/action/getyaoqingzonglan',
      method: 'post',
      data:data
    })
  }


  export function pldelyaoqing(data) {
    return request({
      url: '/apiadmin/action/pldelyaoqing',
      method: 'post',
      data:data
    })
  }

  export function delyaoqing(data) {
    return request({
      url: '/apiadmin/action/delyaoqing',
      method: 'post',
      data:data
    })
  }

  //评论   


  export function getpinglun(data) {
    return request({
      url: '/apiadmin/action/getpinglun',
      method: 'post',
      data:data
    })
  }


  export function pldelpinglun(data) {
    return request({
      url: '/apiadmin/action/pldelpinglun',
      method: 'post',
      data:data
    })
  }

  export function delpinglun(data) {
    return request({
      url: '/apiadmin/action/delpinglun',
      method: 'post',
      data:data
    })
  }

  export function addpinglun(data) {
    return request({
      url: '/apiadmin/action/addpinglun',
      method: 'post',
      data:data
    })
  }

  export function editpinglun(data) {
    return request({
      url: '/apiadmin/action/editpinglun',
      method: 'post',
      data:data
    })
  }

  //管控记录  

  export function getguankong(data) {
    return request({
      url: '/apiadmin/action/getguankong',
      method: 'post',
      data:data
    })
  }


  export function pldelguankong(data) {  
    return request({
      url: '/apiadmin/action/pldelguankong',
      method: 'post',
      data:data
    })
  }

  export function delguankong(data) {
    return request({
      url: '/apiadmin/action/delguankong',
      method: 'post',
      data:data
    })
  }

  //邀约到课

  export function getyaoyue(data) {
    return request({
      url: '/apiadmin/action/getyaoyue',
      method: 'post',
      data:data
    })
  }


  // 营销操作   

  export function getyingxiao(data) {
    return request({
      url: '/apiadmin/action/getyingxiao',
      method: 'post',
      data:data
    })
  }


  export function pldelyingxiao(data) {  
    return request({
      url: '/apiadmin/action/pldelyingxiao',
      method: 'post',
      data:data
    })
  }

  export function delyingxiao(data) {
    return request({
      url: '/apiadmin/action/delyingxiao',
      method: 'post',
      data:data
    })
  }

    // 点击事件   

    export function getShijian(data) {
      return request({
        url: '/apiadmin/action/getShijian',
        method: 'post',
        data:data
      })
    }

    //在线记录 

    export function getjilu(data) {
      return request({
        url: '/apiadmin/action/getjilu',
        method: 'post',
        data:data
      })
    }

//购买课程记录  

export function getpayorder(data) {
  return request({
    url: '/apiadmin/action/getpayorder',
    method: 'post',
    data:data
  })
}

//购买课程记录 中 的评论 

export function getPingLunUser(data) {
  return request({
    url: '/apiadmin/action/getPingLunUser',
    method: 'post',
    data:data
  })
}
//抽奖
export function getChouJiang(data) {
    return request({
        url: '/apiadmin/action/getChouJiang',
        method: 'post',
        data:data
    })
}
export function getPrizeList(data) {
    return request({
        url: '/apiadmin/action/getPrizeList',
        method: 'post',
        data:data
    })
}
export function getChouJiangRobot(data) {
    return request({
        url: '/apiadmin/action/getChouJiangRobot',
        method: 'post',
        data:data
    })
}
export function getChouJiangUser(data) {
    return request({
        url: '/apiadmin/action/getChouJiangUser',
        method: 'post',
        data:data
    })
}
export function getEditChouJiangUser(data) {
    return request({
        url: '/apiadmin/action/getEditChouJiangUser',
        method: 'post',
        data:data
    })
}

export function getEditChouJiangRobot(data) {
    return request({
        url: '/apiadmin/action/getEditChouJiangRobot',
        method: 'post',
        data:data
    })
}
export function getAllChouJiangUser(data) {
    return request({
        url: '/apiadmin/action/getAllChouJiangUser',
        method: 'post',
        data:data
    })
}

export function getAllChouJiangRobot(data) {
    return request({
        url: '/apiadmin/action/getAllChouJiangRobot',
        method: 'post',
        data:data
    })
}
export function getNoticeList(data) {
    return request({
        url: '/apiadmin/action/getNoticeList',
        method: 'post',
        data:data
    })
}
//小黑板记录
export function getBlackbordList(data) {
    return request({
        url: '/apiadmin/action/getBlackbordList',
        method: 'post',
        data:data
    })
}